<?php


class ConnectPDO
{
    protected $pdo;

    public function __construct()
    {
        $this->pdo = new PDO(
            'mysql:host=localhost;port=3306;dbname=test;charset=utf8',
            'root',
            '112233456',
            array(PDO::ATTR_PERSISTENT => true)
        );
    }
}